package com.ethink.order.service.impl;

import com.ethink.order.api.info.SaleReturnDetailOrderInfo;
import com.ethink.order.api.model.SaleReturnDetailModel;
import com.ethink.order.common.mapper.SaleReturnDetailOrderMapper;
import com.ethink.order.service.SaleReturnDetailOrderService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * 销售退单详情 Service接口实现
 *
 * @author default
 * @date 2022-12-09
 */
@Slf4j
@Service
public class SaleReturnDetailOrderServiceImpl implements SaleReturnDetailOrderService {

    @Autowired
    private SaleReturnDetailOrderMapper saleReturnDetailOrderMapper;


    @Override
    public List<SaleReturnDetailOrderInfo> queryDetailListBySaleOrderNo(String saleOrderNo) {
        return saleReturnDetailOrderMapper.queryDetailListBySaleOrderNo(saleOrderNo);
    }

    @Override
    public List<String> querySaleReturnDetailOrderNoByOrderNo(List<String> orderNos) {
        return saleReturnDetailOrderMapper.querySaleReturnDetailOrderNoByOrderNo(orderNos);
    }
}
